Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit 5b8253a

Browse files
committed
Fix building with 3rd party OpenSSL:
don't incorrectly rely on boringssl directly from sha1 code, but rather go through our selector target (and similarly use it to find the includes) to find the ssl lib one is supposed to use. Fixes #1139 too
1 parent e97fe1e commit 5b8253a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pagespeed/kernel.gyp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
'dependencies': [
117117
'pagespeed_base_core',
118118
'<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
119-
'<(DEPTH)/third_party/serf/openssl.gyp:openssl',
119+
'<(DEPTH)/third_party/serf/select_openssl.gyp:select_openssl',
120120
],
121121
},
122122
{

pagespeed/kernel/base/sha1_signature.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include "pagespeed/kernel/base/string.h"
2424
#include "pagespeed/kernel/base/string_util.h"
2525
#if ENABLE_URL_SIGNATURES
26-
#include "third_party/boringssl/src/include/openssl/hmac.h"
26+
#include <openssl/hmac.h>
2727
#endif
2828

2929
namespace net_instaweb {

0 commit comments

Comments
 (0)